package com.ruoyi.entity.service;

import com.ruoyi.entity.domain.Comic;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 漫画Service接口
 *
 * @author Delamer
 * @date 2020-12-30
 */
public interface IComicService extends IService<Comic> {
    public void addComic(Comic comic);
    public void setComic(Comic comic);
    public Comic getComicById(Long id);
    public Comic getComicByCode(Long code);
    public Long getMaxId();

    void download(Long id);
}
